package com.ruoyi.community.service;

import com.ruoyi.community.domain.ServiceRules;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface IRulesService {

    Integer addNewRule(ServiceRules serviceRules);

    Map<String, List<ServiceRules>> getRulesList();

    Integer updateRuleInfoById(ServiceRules serviceRules);

    Integer deleteRuleById(Long ruleId);

    ServiceRules getRuleById(Long ruleId);
}
